// The factory design pattern
#ifndef FACTORY_H
#define FACTORY_H

#include <vector>
#include "object.h"
#include "SFML/Window.hpp"

using std::vector;

class Factory
{
public:
	static void DeleteObject( Object * );
	static void AddObject( Object * );

	static void RenderAll(sf::RenderWindow &win);
	static void UpdateAll(float deltaTime);

	static void AlertObjects(sf::Event &e);

private:
	static vector<Object*>		m_objectList;
};


#endif // FACTORY_H
